<template>
    <div align="center">
	  			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">名称:</label>
					<span class="form-value">{{ formData.name}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">编码:</label>
					<span class="form-value">{{ formData.code}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">排序:</label>
					<span class="form-value">{{ formData.position}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">删除状态:</label>
					<span class="form-value">{{ formData.isDel}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">备注:</label>
					<span class="form-value">{{ formData.remark}}</span>
				 </el-col>
			 </el-row>

      <div slot="footer" align="center" style='padding-top:40px'>
        <el-button @click="changeDialogVisible(false)">关闭</el-button>
      </div>
    </div>
</template>

<script>
  import { getColumn } from '@/api/ColumnApi'
  import ViewBase from '@/components/TableGrid/viewBase'

  export default {
    extends: ViewBase,
    name: 'columnView',
    data() {
      return {
        formData: {},
        domainName: '新闻栏目'
      }
    },
    methods: {
      initDataFun(params) {
        return getColumn(params);
      }
    }
  }
</script>

